package com.kkwrite.regimen.common.entity.dto.shop;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 店铺收益 DTO
 *
 * @author jinying
 * 
 */
public class PageableShopIncomeDTO implements Serializable {
	private static final long serialVersionUID = 4925395278054516084L;
	private Integer totalPages;
	private Long totalElements;
	private List<ShopIncomeDTO> recordList;
	
	public ShopIncomeDTO creatShopIncomeDTO(){
		return new ShopIncomeDTO();
	}
	public Integer getTotalPages() {
		return totalPages;
	}


	public void setTotalPages(Integer totalPages) {
		this.totalPages = totalPages;
	}


	public Long getTotalElements() {
		return totalElements;
	}


	public void setTotalElements(Long totalElements) {
		this.totalElements = totalElements;
	}


	public List<ShopIncomeDTO> getRecordList() {
		return recordList;
	}


	public void setRecordList(List<ShopIncomeDTO> recordList) {
		this.recordList = recordList;
	}


	@Override
	public String toString() {
		return "PageableShopIncomeDTO [totalPages=" + totalPages
				+ ", totalElements=" + totalElements + ", recordList="
				+ recordList + "]";
	}


	public class ShopIncomeDTO {
		private Long incomeId;
		private String itemName;
		private String nickName;
		private String avatarUrl;
		private Long shopId;
		private String shopName;
		private String orderCode;
		private Short incomeSourceType;
		private Short incomeStatus;
		private Double incomeAmount;
		private String withdrawalAccountName;
		private String withdrawalAccountNo;
		private String withdrawalBank;
		private String incomeDealStaff;
		private LocalDateTime incomeDealTime;
		private LocalDateTime createTime;

		public String getItemName() {
			return itemName;
		}

		public void setItemName(String itemName) {
			this.itemName = itemName;
		}

		
		public String getNickName() {
			return nickName;
		}

		public void setNickName(String nickName) {
			this.nickName = nickName;
		}

		public String getAvatarUrl() {
			return avatarUrl;
		}

		public void setAvatarUrl(String avatarUrl) {
			this.avatarUrl = avatarUrl;
		}

		public Long getIncomeId() {
			return incomeId;
		}

		public void setIncomeId(Long incomeId) {
			this.incomeId = incomeId;
		}

		public Long getShopId() {
			return shopId;
		}

		public void setShopId(Long shopId) {
			this.shopId = shopId;
		}

		public String getShopName() {
			return shopName;
		}

		public void setShopName(String shopName) {
			this.shopName = shopName;
		}

		public String getOrderCode() {
			return orderCode;
		}

		public void setOrderCode(String orderCode) {
			this.orderCode = orderCode;
		}

		public Short getIncomeSourceType() {
			return incomeSourceType;
		}

		public void setIncomeSourceType(Short incomeSourceType) {
			this.incomeSourceType = incomeSourceType;
		}

		public Short getIncomeStatus() {
			return incomeStatus;
		}

		public void setIncomeStatus(Short incomeStatus) {
			this.incomeStatus = incomeStatus;
		}

		public Double getIncomeAmount() {
			return incomeAmount;
		}

		public void setIncomeAmount(Double incomeAmount) {
			this.incomeAmount = incomeAmount;
		}

		public String getWithdrawalAccountName() {
			return withdrawalAccountName;
		}

		public void setWithdrawalAccountName(String withdrawalAccountName) {
			this.withdrawalAccountName = withdrawalAccountName;
		}

		public String getWithdrawalAccountNo() {
			return withdrawalAccountNo;
		}

		public void setWithdrawalAccountNo(String withdrawalAccountNo) {
			this.withdrawalAccountNo = withdrawalAccountNo;
		}

		public String getWithdrawalBank() {
			return withdrawalBank;
		}

		public void setWithdrawalBank(String withdrawalBank) {
			this.withdrawalBank = withdrawalBank;
		}

		public String getIncomeDealStaff() {
			return incomeDealStaff;
		}

		public void setIncomeDealStaff(String incomeDealStaff) {
			this.incomeDealStaff = incomeDealStaff;
		}

		public LocalDateTime getIncomeDealTime() {
			return incomeDealTime;
		}

		public void setIncomeDealTime(LocalDateTime incomeDealTime) {
			this.incomeDealTime = incomeDealTime;
		}

		public LocalDateTime getCreateTime() {
			return createTime;
		}

		public void setCreateTime(LocalDateTime createTime) {
			this.createTime = createTime;
		}

		@Override
		public String toString() {
			return "ShopIncomeDTO [incomeId=" + incomeId + ", itemName="
					+ itemName + ", nickName=" + nickName + ", avatarUrl="
					+ avatarUrl + ", shopId=" + shopId + ", shopName="
					+ shopName + ", orderCode=" + orderCode
					+ ", incomeSourceType=" + incomeSourceType
					+ ", incomeStatus=" + incomeStatus + ", incomeAmount="
					+ incomeAmount + ", withdrawalAccountName="
					+ withdrawalAccountName + ", withdrawalAccountNo="
					+ withdrawalAccountNo + ", withdrawalBank="
					+ withdrawalBank + ", incomeDealStaff=" + incomeDealStaff
					+ ", incomeDealTime=" + incomeDealTime + ", createTime="
					+ createTime + "]";
		}

	}
}
